package com.culturesalon.dao;

import java.io.Serializable;
import java.util.List;

import com.culturesalon.dto.Goods;
import com.culturesalon.dto.User;

public interface UserDAO {
	public User get(Integer id);
	public Serializable save(User user);
	public void update(User user);
	public Serializable delete(Serializable id);
	public List<User> findAll();
	public User findUserByNameAndPassword(String userName,String password);
	public User findUserByName(String userName);

}
